import Mine from '../views/Mine/Mine.vue'

export default {
    path: 'mine',
    name: 'mine',
    component: Mine,
    children: [
        // 用户数据修改
        {
            path: 'Useravatar',
            name: 'Useravatar',
            component: () => import(/* webpackChunkName: "useravatar" */'../views/Mine/UserAvatar.vue'),
        },
        // 关注和粉丝
        {
            path: 'follow',
            name: 'follow',
            component: () => import(/* webpackChunkName: "follow" */'../views/Mine/Follow.vue'),
        },
        // 点赞
        {
            path: 'fabulous',
            name: 'fabulous',
            component: () => import(/* webpackChunkName: "fabulous" */'../views/Mine/Fabulous.vue'),
        },
        // 设置
        {
            path: 'set',
            name: 'set',
            component: () => import(/* webpackChunkName: "fabulous" */'../views/Mine/Set.vue'),
            children: [
                {
                    path: 'statistics',
                    name: 'statistics',
                    component: () => import(/* webpackChunkName: "statistics" */'../views/Mine/Statistics.vue')
                },
                {
                    path: 'jurisdiction',
                    name: 'jurisdiction',
                    component: () => import(/* webpackChunkName: "jurisdiction" */'../views/Mine/Jurisdiction.vue')
                },
                {
                    path: 'policy',
                    name: 'policy',
                    component: () => import(/* webpackChunkName: "policy" */'../views/Mine/Policy.vue')
                },
            ]
        },
        //用户作品页面
        {
            path: 'works',
            name: 'works',
            component: () => import(/* webpackChunkName: "works" */'../views/Mine/Works.vue')
        }
    ]
}